package roboguice.fragment.event;

import android.app.Activity;
import android.support.v4.app.Fragment;

/**
 * 
 * Class representing the event raised by RoboFragment.onAttach()
 * 
 * @author Cherry Development
 *
 */
public class OnAttachEvent extends AbstractFragmentEvent {
    
    protected final Activity activity;

    public OnAttachEvent(Fragment fragment, Activity activity) {
        super(fragment);
        this.activity = activity;
    }
    
    public Activity getActivity() {
        return activity;
    }

}
